package com.vcar.LDiceClient.chat
{
	import flash.display.DisplayObject;
	import flash.system.ApplicationDomain;
	public class IExObject
	{
		public static var factry:IExObject=new IExObject();	
		public function create(parentTF:CTextArea,type:String,arg:String):DisplayObject
		{
			switch(type){
				case "smile":
					return new ChatSmileObject(arg);
				break;
				case "object":
					return new ChatLinkObject(arg);
				break;
			}
			return null;
		}		
	}
}